package com.example.itces.domain;

public class JgQuestion {
    private int id;
    private String topic;
    private String rightAnswer;
    private String state;
    private String qtype ;

    public JgQuestion() {
    }

    public JgQuestion(String topic, String rightAnswer, String qtype) {
        this.topic = topic;
        this.rightAnswer = rightAnswer;
        this.qtype = qtype;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getRightAnswer() {
        return rightAnswer;
    }

    public void setRightAnswer(String rightAnswer) {
        this.rightAnswer = rightAnswer;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getQtype() {
        return qtype;
    }

    public void setQtype(String qtype) {
        this.qtype = qtype;
    }

    @Override
    public String toString() {
        return "JgQuestion{" +
                "id=" + id +
                ", topic='" + topic + '\'' +
                ", rightAnswer='" + rightAnswer + '\'' +
                ", state='" + state + '\'' +
                ", qtype='" + qtype + '\'' +
                '}';
    }
}